package com.wanlian.router.bean;

public class User {

    private long id;
    private String username;
    private String phone;
    private String upassword;
    private boolean isEnable;
    private String remark;
    /**
     * birthday : 2018-01-01
     * sex : 1
     * email : 33Qq213.com
     * headimg : 111231
     */

    private long birthday;
    private boolean sex; // true 男
    private String email;
    private int devCount;
    private String sessionId;
    private String headImg;
    private String intAccount;
    private String userTag;

    public User() {
    }

    public User(User u) {
        this.id = u.id;
        this.upassword = u.upassword;
        this.phone = u.phone;
        this.isEnable = u.isEnable;
        this.remark = u.remark;
        this.birthday = u.birthday;
        this.sex = u.sex;
        this.email = u.email;
        this.headImg = u.headImg;
        this.devCount = u.devCount;
        this.sessionId = u.sessionId;
        this.intAccount = u.intAccount;
        this.userTag = u.userTag;
    }

    public String getUserTag() {
        return userTag;
    }

    public void setUserTag(String userTag) {
        this.userTag = userTag;
    }

    public int getDevCount() {
        return devCount;
    }

    public void setDevCount(int devCount) {
        this.devCount = devCount;
    }

    public String getSessionId() {
        return sessionId;
    }

    public void setSessionId(String sessionId) {
        this.sessionId = sessionId;
    }

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getUpassword() {
        return upassword;
    }

    public void setUpassword(String upassword) {
        this.upassword = upassword;
    }

    public boolean isEnable() {
        return isEnable;
    }

    public void setEnable(boolean isEnable) {
        this.isEnable = isEnable;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public long getBirthday() {
        return birthday;
    }

    public void setBirthday(long birthday) {
        this.birthday = birthday;
    }

    public boolean isSex() {
        return sex;
    }

    public void setSex(boolean sex) {
        this.sex = sex;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getHeadImg() {
        return headImg;
    }

    public String getIntAccount() {
        return intAccount;
    }

    public void setIntAccount(String intAccount) {
        this.intAccount = intAccount;
    }

    public void setHeadImg(String headImg) {
        this.headImg = headImg;
    }
}
